home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5817 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: inforamp.net!ts26-13
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: HELP: Strange DLL linker warning!
  5. Date: Tue, 06 Feb 96 22:49:17 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4f8ljg$ffl@sam.inforamp.net>
  8. References: <4f7v88$k40@scotsman.ed.ac.uk>
  9. NNTP-Posting-Host: ts26-13.tor.inforamp.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <4f7v88$k40@scotsman.ed.ac.uk>,
  13.    Steven <steven@srv1.jig.ed.ac.uk> wrote:
  14. >hi,
  15. >
  16. >I have a DLL and I want to export the functions within it. So in the DLL 
  17. definition 
  18. >file (*.def) at the EXPORT section I have entered the names of the functions 
  19. I want 
  20. >to export. But low and behold I get the following warning:
  21. >
  22. >Linker Warning: Attempt to export non-public symbol 'function name'
  23. >
  24. >Why? I don't know how to declare these functions as public and I have 
  25. explicitly 
  26. >defined them as _export . Can anyone help. By the way I'm using the 3.1 
  27. compiler.
  28. >Cheers!
  29. >
  30. >Steve 
  31. >
  32.  
  33. Switches, switches switches.  Either, you need to change the case sensitive 
  34. link switches or the export function from DLL switches.  I could be wrong 
  35. though.
  36.  
  37. Agrivar
  38.